package com.yyfax.pay.third.model.to.quickpay;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.yyfax.pay.third.model.to.quickpay.xml.IndAuthContent;

/**
 * 独立鉴权发送验证码响应参数
 * 
 * @author xiemh
 * @date 2017-04-12 15:19:54
 * @since v1.0.0
 */
@SuppressWarnings("serial")
public class SendAuthenticationVerifyCodeQuickPayContent extends BaseQuickPayContent {
	private String version = "1.0";

	@XStreamAlias("indAuthContent")
	private IndAuthContent indAuthContent;

	public IndAuthContent getIndAuthContent() {
		return indAuthContent;
	}

	public void setIndAuthContent(IndAuthContent indAuthContent) {
		this.indAuthContent = indAuthContent;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}
	
	/**
	 * xml转换成实体类
	 */
	public static SendAuthenticationVerifyCodeQuickPayContent fromXml(String xml) {
		return (SendAuthenticationVerifyCodeQuickPayContent) fromXml(xml, SendAuthenticationVerifyCodeQuickPayContent.class);
	}
}
